package com.bsierp.business.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Credentials entity. @author MyEclipse Persistence Tools
 */

public class Credentials implements java.io.Serializable {

    // Fields

    private Integer credentialsId;
    private String credentialsName;
    private String credentialsRemark;
    private Set users = new HashSet(0);

    // Constructors

    /** default constructor */
    public Credentials() {
    }

    /** minimal constructor */
    public Credentials(String credentialsName) {
        this.credentialsName = credentialsName;
    }

    /** full constructor */
    public Credentials(String credentialsName, String credentialsRemark,
            Set users) {
        this.credentialsName = credentialsName;
        this.credentialsRemark = credentialsRemark;
        this.users = users;
    }

    // Property accessors

    public Integer getCredentialsId() {
        return this.credentialsId;
    }

    public void setCredentialsId(Integer credentialsId) {
        this.credentialsId = credentialsId;
    }

    public String getCredentialsName() {
        return this.credentialsName;
    }

    public void setCredentialsName(String credentialsName) {
        this.credentialsName = credentialsName;
    }

    public String getCredentialsRemark() {
        return this.credentialsRemark;
    }

    public void setCredentialsRemark(String credentialsRemark) {
        this.credentialsRemark = credentialsRemark;
    }

    public Set getUsers() {
        return this.users;
    }

    public void setUsers(Set users) {
        this.users = users;
    }

}